﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AudioCore.Entity
{
    public class ArticleEntity : BaseEntity
    {
        [PropertyEntity("ArticleID", true)]
        public int ArticleID { get; set; }

        [PropertyEntity("ArticleName", true)]
        public string ArticleName { get; set; }

        [PropertyEntity("Description", true)]
        public string Description { get; set; }

        [PropertyEntity("Author", true)]
        public string Author { get; set; }

        [PropertyEntity("Artist", true)]
        public string Artist { get; set; }

        [PropertyEntity("PlayCounter", true)]
        public int PlayCounter { get; set; }

        [PropertyEntity("HasImage", true)]
        public bool HasImage { get; set; }

        [PropertyEntity("Actived", true)]
        public bool Actived { get; set; }

        [PropertyEntity("IsHot", true)]
        public bool IsHot { get; set; }

        [PropertyEntity("Deleted", true)]
        public bool Deleted { get; set; }

        [PropertyEntity("CreatedDateTime", true)]
        public DateTime CreatedDateTime { get; set; }

        [PropertyEntity("LastTimeUpdate", true)]
        public DateTime LastTimeUpdate { get; set; }
        
        [PropertyEntity("RateTimes", true)]
        public int RateTimes { get; set; }

        [PropertyEntity("RatePoint", true)]
        public int RatePoint { get; set; }

        [PropertyEntity("SortOrder", false)]
        public DateTime SortOrder { get; set; }

        [PropertyEntity("PartCounter", false)]
        public int PartCounter { get; set; }

        [PropertyEntity("Visited", false)]
        public int Visited { get; set; }
    }
}
